import type { App, Plugin } from 'vue'
import svgIcon from '@/components/svgIcon.vue'
const allComponents =[svgIcon]

const globalComponent: Plugin = {
    install(Vue: App) {
        allComponents.forEach((component: any) => {
            Vue.component(component.name, component)
        })
    }
}
export default globalComponent